Mollie\WooCommerce\Payment\MollieOrderService B

Total Complexity 99
Dependencies 8
Dependents 7
Total lines 616
Lines of code 393
Logical lines of code 257
Comment lines 184
Methods 28
Properties 8

Methods 28

Method Rating Maintainability Complexity Lines of code
processChargebacks()
B
36 17 77
doPaymentForOrder()
B
39 18 60
onWebhookAction()
A
42 12 48
updateOrderStatus()
A
54 8 21
orderNeedsPayment()
S
51 7 26
processRefunds()
S
50 4 27
findRefundIdsByLinks()
S
60 3 12
notifyProcessedRefunds()
S
60 2 13
checkPaymentForUnpaidOrder()
S
70 2 6
findRefundIds()
S
71 2 6
calculateRefundByLine()
S
67 2 8
isPartialRefund()
S
69 2 6
processUpdateStateRefund()
S
72 2 5
paymentTestModeNote()
S
71 2 5
getPaymentMethodTitle()
S
69 2 7
getProcessedRefundIds()
S
64 2 9
renderNote()
S
63 1 11
__construct()
S
67 1 8
setGateway()
S
81 1 3
getPaymentIdFromRequest()
S
78 1 3
handlePaidOrderWebhook()
S
73 1 4
isOrderPaidAndProcessed()
S
79 1 3
isOrderPaidByOtherGateway()
S
79 1 3
hasLineRefund()
S
80 1 3
findRefundIdsByLine()
S
74 1 5
setBillingAddressAfterPayment()
S
69 1 5
updateStateRefund()
S
69 1 6
isOrderButtonPayment()
S
79 1 3